package com.zhangtai.modules.entity.flow;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zhangtai.config.LongJsonDeserializer;
import com.zhangtai.config.LongJsonSerializer;
import lombok.Data;

import java.io.Serializable;

	

/**
 * 
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2020-08-05 15:05:05
 */
@Data
@TableName("tb_flow")
public class FlowEntity implements Serializable {
	private static final long serialVersionUID = 1L;

			/**
		 * 流程ID
		 */
				@TableId
		@JsonDeserialize(using = LongJsonDeserializer.class)
		@JsonSerialize(using = LongJsonSerializer.class)
			private Long flowId;
			/**
		 * 员工Id
		 */
			@JsonDeserialize(using = LongJsonDeserializer.class)
			@JsonSerialize(using = LongJsonSerializer.class)
			private Long oid;
			/**
		 * 流程类型
		 */
			private Integer flowType;
			/**
		 * 流程状态
		 */
			private Integer status;

	/**
	 * 关联Id
	 */
	@JsonDeserialize(using = LongJsonDeserializer.class)
	@JsonSerialize(using = LongJsonSerializer.class)
	private Long relateId;

	private Integer isDelete;
	/**
	 * 多个oid
	 */
	private String oidGroup;
	
}
